package com.jk.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jk.dto.TbTeacher;
import org.apache.ibatis.annotations.Update;

public interface TbTeacherMapper extends BaseMapper<TbTeacher> {
    @Update("update tb_teacher set status = '1' where id = #{id}")
    void upstatus(TbTeacher tbTeacher);
    @Update("update tb_teacher set status = '0' where id = #{id}")
    void updatestatus(TbTeacher tbTeacher);
}
